<?php
//author:wangyinghao
namespace app\index\controller;
use think\Controller;
use think\Request;
use think\Db;
use app\index\model\Index as UserModel;

class Detail1 extends Controller
{
	public function Detail1()
	{
		$list=UserModel::paginate(5);
		$this->assign('list',$list);
		$this->assign('count',count($list));
		//返回评论页面
		return view('detail1');

	}
	
	
}
	
?>